package cn.ekuma.android.driver;

import com.openbravo.pos.config.ParametersConfig;

public class DevicePrinterNull implements DevicePrinter {
    
    private String m_sName;
    private String m_sDescription;
    
    /** Creates a new instance of DevicePrinterNull */
    public DevicePrinterNull() {
        this(null);
    }
    
    /** Creates a new instance of DevicePrinterNull */
    public DevicePrinterNull(String desc) {
        m_sName = "Printer.Null";
        m_sDescription = desc;
    }

    public String getPrinterName() {
        return m_sName;
    }    
    public String getPrinterDescription() {
        return m_sDescription;
    }        

    public void reset() {
    }
    
    public void beginReceipt() {
    }
    public void printBarCode(String type, String position, String code) {        
    }    

    public void beginLine(int iTextSize) {
    }   
    public void printText(int iStyle, String sText) {
    }   
    public void endLine() {
    }
    public void endReceipt() {
    }
    public void openDrawer() {
    }

	@Override
	public String getPrinterType() {
		// TODO Auto-generated method stub
		return "NULL";
	}

	public ParametersConfig getConfiguration() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public void cutReceipt() {
		// TODO Auto-generated method stub
		
	}
}
